Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issues with asdoc Using xtsum || exporting in word document

    Hello everyone,

    I’m facing an issue with the following Stata command:

    Code:
    asdoc by Parent_C, sort: xtsum company_switches_ratio company_switches_avarage_y if MYsampleAGE == 1 & too_old_2005 != 1, dec(2) fhc(\b)
    The tables look fine when I view them in Stata, but when I generate the Word document using asdoc, the table isn't formatted correctly. Specifically, all the cells in the first few rows containing "company_switches_ratio" and "company_switches_avarage_y" are misaligned.

    I’m wondering if the long variable names might cause this issue. I’ve never had problems with asdoc before, but it seems like xtsum might not be fully compatible with it. Has anyone else encountered a similar problem? If so, how did you solve it?

    I’d really appreciate any insights. Thanks in advance!

  • #2
    -asdoc- is not a Stata official command. You are expected to mention the details of the user written command according to forum rule #12.1 which says, "If you are using community-contributed (also known as user-written) commands, explain that and say where they came from: the Stata Journal, SSC, or other archives."
    Roman

    Comment

    Working...
    X